#ifndef UTIL
#define UTIL
#include "TString.h"
#include "TChain.h"
#include "TLorentzVector.h"

Double_t getPt(Double_t, Double_t);
Double_t calcWeight(TString, Double_t);
void addFiles(TString, TChain *, TString);
Double_t xsec(Double_t, Double_t, Double_t,Double_t,Double_t);
Double_t invMass2(Double_t, Double_t, Double_t, Double_t,
               Double_t, Double_t, Double_t, Double_t);
Double_t deltaR(TLorentzVector, TLorentzVector);
Double_t calcMLL(TLorentzVector, TLorentzVector);
Double_t caldphi(Double_t, Double_t);
Double_t caldeta(Double_t , Double_t);
Double_t caldr(Double_t, Double_t);
Double_t calmindr(Double_t, Double_t, std::vector<TLorentzVector>);
#endif


